import { HashRouter } from 'react-router-dom'
import { ConfigProvider } from 'antd'
import React from 'react'
import zhCN from 'antd/lib/locale/zh_CN'
import MyRoutes from './components/MyRoutes'

function App() {
  
  return (
    <ConfigProvider locale={zhCN}>
      <React.Suspense fallback={<div>加载中...</div>}>
        <HashRouter>
          <MyRoutes></MyRoutes>
        </HashRouter>
      </React.Suspense>
    </ConfigProvider>
  )
}

export default App
